<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			*{
				margin: 0;
				padding: 0;
			}
			body{
				position: relative;
				width: 100vw;
				height: 100vh;
				background:url(img/bacg.jpg) no-repeat center/100% 100%;
			}
			/* input全局为0 */
			input{
				border: 0;
				outline: none;
			}
			.login{
				position: absolute;
				top: 50px;
				left: 60px;
				
			}
			.register{
				position: absolute;
				top: 50px;
				right: 60px;
			}
			.login-main{
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%,-50%);
				width: 460px;
				height: 520px;
				background-color: white;
				border-radius: 10px;
			}
			.register a{
				width: 100px;
				height: 25px;
				font-size: 15px;
				border: #FFFFFF 2px solid;
				text-decoration: none;/* 去掉下滑线 */
				border-radius: 10px;
				color: white;
				display: inline-block;/* 块 */
				text-align: center;
				line-height: 25px;
			} 
			.wjx p{
				font-size: 25px;
				color: #FFA500;
				margin-top: 10px;
				margin-left: 20px;
				
			}
			
			.yhm{
				width: 400px;
				height: 40px;
				border: gray 1px solid;
				border-radius: 20px;
				margin-top: 20px;
				margin-left: 20px;
				line-height: 40px;
			}
			.yhm:hover{
				border: solid 1px #fa911e;
			}
			
			.yhm2{
				width: 400px;
				height: 40px;
				border: gray 1px solid;
				border-radius: 20px;
				margin-top: 20px;
				margin-left: 20px;
				line-height: 40px;
			}
			.yhm2:hover{
				border: solid 1px #fa911e;
			}
			.dl{
				width: 400px;
				height: 50px;
				background-color: #FFA500;
				margin: auto;
				border-radius: 20px;
				line-height: 50px;
				text-align: center;
				font-size: 25px;
				color: white;
				margin: 25px;
				
			}
			.xc{
				width: 510px;
				height: 25px;
				font-size: 15px;
				color: #000000;
				margin-top: 30px;
				margin-left: 20px;
			}
			.xc a{
				margin-left: 170px;
				color: black;
			}
			.lj {
				color: #FFA500;
				line-height: 25px;
				text-align: center;
				margin: 50px;
			}
			
			.aa{
				line-height: 25px;
				text-align: center;
				margin-left:130px;
			}
		</style>
	</head>
	<body>
		<div class="login">
			<img src="img/logo.png">
		</div>
		
		<div class="register">
			<a href="#">注册</a>
			<a href="#">返回首页</a>
		</div>
		
		<div class="login-main">
			<div class="wjx">
				<p>问卷星登录</p>
			</div>
			<div class="yhm">
				<form>
					<img src="img/user.png">
			<input type="text" placeholder="用户名/Email/手机" class="text-font" />
				
				</form>
				</div>
				<div class="yhm2">
					<form>
						<img src="img/password.png">
					<input type="password" placeholder="请输入登录密码" class="text-font" />
					</div>
					<div class="xc">
						<input type="radio"name="sex"/>下次自动登录
						<a href="#">忘记用户名/密码？</a>
					</div>
					<div class="dl">
						<a>登录</a>
					</div>
					<div class="lj">
						<a>立即注册</a>
					</div>
					
					<a class="aa">————第三方登录————</a>
					
		</div>
	</body>
</html>